package cuotiku;

/**
 * @author shkstart
 * @date 2022/4/2 - 22:50
 */
public class IfTest {
    public static void main(String[] args) {
        boolean x = true;
        boolean y = false;
        short z = 40;
        if ((z++ == 40) && (y = true)) {
            z++;
        }
        if((x = false) || (++z == 43)) {
            z++;
        }
        System.out.println("z = " + z);
//        总结：请细心注意 == 与 = 之间的关系区别；
    }
}
